<?php
namespace Home\Controller;
use Think\Controller;
class WaiterController extends Controller {
	
	/**
	 * 魔术方法，设置默认处理机制
	 * @param String $method
	 * @param String $args
	 */
	public function __call($method, $args){
		if (method_exists('ArticleController', $method)){
			$this->$method;
		}else{
			$response['STATUS'] = "error";
			$response['ERRMSG'] = "no method";
			$response['RESULT'] = array();
			$this->ajaxReturn($response);
		}
	}

    public function index(){

		$this->assign('WEB_ROOT',C('WEB_ROOT'));

		$this->display("service");
	 }
	 public function checkout(){

		$this->assign('WEB_ROOT',C('WEB_ROOT'));

		$this->display("checkout");
	 }
	 public function success(){

		$this->assign('WEB_ROOT',C('WEB_ROOT'));

		$this->display("success");
	 }	 
    //public function blog(){
    //    $this->assign('WEB_ROOT',C('WEB_ROOT'));
    //    $this->display("blog");
    //}
    //public function singleblog(){
    //    $this->assign('WEB_ROOT',C('WEB_ROOT'));
    //    $this->display("single-blog");
    //}
}
